﻿<Window x:Class="Mengsk.ProxyDelivery.App.UI.Operator.ResetPasswordWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="PasswordResetWindow" Height="300" Width="300" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="150"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>

        <TextBlock Text="新密码:" Margin="3" VerticalAlignment="Center"/>
        <PasswordBox Grid.Row="0" Grid.Column="1" Name="pbNewPassword" Margin="3" VerticalAlignment="Center"/>
        <TextBlock Grid.Row="1" Text="重复密码:" Margin="3" VerticalAlignment="Center"/>
        <PasswordBox Grid.Row="1" Grid.Column="1" Name="pbRepeatNewPassword" Margin="3" VerticalAlignment="Center"/>

        <TextBlock Grid.Row="2" Text="短信验证:" Margin="3" VerticalAlignment="Center"/>
        <TextBox Grid.Row="2" Grid.Column="1" Name="tbSmsCode" Margin="3" VerticalAlignment="Center"/>

        <Button Grid.Row="2" Grid.Column="2" Name="btnSendSms" Margin="3" VerticalAlignment="Center" Content="获取短信" Width="80" HorizontalAlignment="Right" Click="btnSendSms_Click"/>
        <TextBlock Grid.Row="3" Grid.Column="1" Text="尚未发送短信" Grid.ColumnSpan="2" Name="tbSmsMessage" Margin="3" VerticalAlignment="Center" />

        <Button Grid.Row="4" Grid.Column="1" Name="btnSave" Margin="3" VerticalAlignment="Center" Width="80" Content="重置" HorizontalAlignment="Right" FontFamily="宋体" Click="btnSave_Click"/>
    </Grid>
</Window>
